home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8750 < prev    next >
Encoding:
Text File  |  1996-08-05  |  689 b   |  39 lines

  1. Path: news.danadata.dk!usenet
  2. From: Tjele bibliotek <firekl-3@danadata.dk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Linking WASM to WPP code
  5. Date: 26 Feb 1996 14:51:39 GMT
  6. Organization: DanaData Internet Services
  7. Message-ID: <4gshdr$dj6@news.danadata.dk>
  8. NNTP-Posting-Host: 193.162.156.22
  9.  
  10. pa-ross@pat.uwe.ac.uk (P Ross) skriver:
  11. >
  12. > How should I prototype the function in the C++ code to get it to work ?
  13. > The assembler proc is _VR_ResetTimer, and in my code I have void 
  14. > VR_ResetTimer(void). 
  15. >
  16.  
  17. Hi Paul,
  18.  
  19. Try to declare your function like this :
  20.  
  21. extern "C"{
  22. void VR_ResetTimer(void);
  23. }
  24.  
  25. This should work ;-).
  26.  
  27. Keep on the good work.
  28.  
  29. Cheers,
  30. Hajo.
  31.  
  32. hajo_quint@po.ia.dk
  33.  
  34.  
  35.